package main

import "fmt"

func main() {
	score := 100
	defer func() {
		fmt.Printf("defer score=%d\n", score)
		score++
	}()
	Add(&score)
	fmt.Printf("score=%d\n", score)
}
func Add(a *int) {
	*a = *a + 1
	fmt.Printf("AddTrace score=%d\n", *a)
}
